import request from '@/untils/request'

export const getLandLordAPI = (userRole) => {
  return request.post('/user/findUsers', userRole)
}

export const getSubmitAPI = (params) => {
  return request.post('/user/consentAudit', params)
}

export const getQueryNameAPI = (uname) => {
  return request.post('/user/findUsersByName', uname)
}

export const getqueryCheckAPI = (state) => {
  return request.post('/user/toBeReviewed', state)
}

export const checkLandlordAPI = (uname) => {
  return request.post('/user/findUsersByName', uname)
}
